package org.secangkirkopipanas.gxtcore.domain.dto;

import net.sf.hibernate4gwt.pojo.java5.LazyPojo;

import org.secangkirkopipanas.gxtcore.domain.ISystemApplication;
import org.secangkirkopipanas.gxtcore.domain.ISystemApplicationTask;

public class SystemApplicationTaskDTO extends LazyPojo implements
		ISystemApplicationTask {

	private static final long serialVersionUID = 1L;

	private long id;
	private String name;
	private ISystemApplication application;
	private boolean menuTask = false;
	private String categoryName;

	public SystemApplicationTaskDTO() {
	}

	public SystemApplicationTaskDTO(Long id, String name,
			SystemApplicationDTO application, String categoryName,
			boolean menuTask) {
		this.id = id;
		this.name = name;
		this.application = application;
		this.menuTask = menuTask;
		this.categoryName = categoryName;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public ISystemApplication getApplication() {
		return application;
	}

	public void setApplication(ISystemApplication application) {
		this.application = application;
	}

	public boolean isMenuTask() {
		return menuTask;
	}

	public void setMenuTask(boolean menuTask) {
		this.menuTask = menuTask;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

}
